package com.hibernate.model;

import java.util.Date;

/**
 * Leave entity. @author MyEclipse Persistence Tools
 */

public class Leave implements java.io.Serializable {

	// Fields

	private Integer lid;
	private Date ldate;
	private String lpname;
	private Integer lstatus;
	private String snumber;
	private String lreason;
	private String lpicture;

	// Constructors

	/** default constructor */
	public Leave() {
	}

	/** minimal constructor */
	public Leave(String snumber) {
		this.snumber = snumber;
	}

	/** full constructor */
	public Leave(Date ldate, String lpname, Integer lstatus, String snumber,
			String lreason, String lpicture) {
		this.ldate = ldate;
		this.lpname = lpname;
		this.lstatus = lstatus;
		this.snumber = snumber;
		this.lreason = lreason;
		this.lpicture = lpicture;
	}

	// Property accessors

	public Integer getLid() {
		return this.lid;
	}

	public void setLid(Integer lid) {
		this.lid = lid;
	}

	public Date getLdate() {
		return this.ldate;
	}

	public void setLdate(Date ldate) {
		this.ldate = ldate;
	}

	public String getLpname() {
		return this.lpname;
	}

	public void setLpname(String lpname) {
		this.lpname = lpname;
	}

	public Integer getLstatus() {
		return this.lstatus;
	}

	public void setLstatus(Integer lstatus) {
		this.lstatus = lstatus;
	}

	public String getSnumber() {
		return this.snumber;
	}

	public void setSnumber(String snumber) {
		this.snumber = snumber;
	}

	public String getLreason() {
		return this.lreason;
	}

	public void setLreason(String lreason) {
		this.lreason = lreason;
	}

	public String getLpicture() {
		return this.lpicture;
	}

	public void setLpicture(String lpicture) {
		this.lpicture = lpicture;
	}

}